{% extends "base.html" %}
{% load cctags %}
{% load ccfilters %}
{% block scripts %}
        <script type="text/javascript">
            $(document).ready(function() {

            });
        </script>
{% endblock %}

{% block menu %}
{% include '_menu_home.html' %}
{% endblock %}

{% block main-page %}
<div id="donate_left"><img src="/static/images/donate_back.jpg"/></div>
<div id="donate_right">
  <h3>{% _ "Donate" %}{% _ " to support MagiCycles running and developing."%}</h3>
  <div id="paypal">Donate via Paypal($):
      <form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
          <input type="hidden" name="cmd" value="_donations"/>
          <input type="hidden" name="business" value="deepgully@gmail.com"/>
          <input type="hidden" name="item_name" value="Support MagiCycles running and developing"/>
          <input type="hidden" name="charset" value="utf-8" />
          <input type="hidden" name="currency_code" value="USD"/>
          {% if user %}
          <input type="hidden" name="on0" value="your MagiCycles account&name"/>
          <input type="hidden" name="os0" maxlength="60" value=" {{ user.uid }} -- {{ user.name }}"/>
          {% endif %}
          <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif"
                 border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"/>
      </form>
  </div>
  <div class="clear"></div>
  <div id="alipay"><p>通过支付宝捐赠(¥):</p>
      <a href="https://me.alipay.com/deepgully" target="_blank">
          <img src="/static/images/donate-with-alipay.png" alt="通过支付宝捐赠"/>
      </a>
  </div>
</div>
{% endblock %}
